Computer Science Lesson Plan
Class: 8 - Lesson: 16 Physical Outputs and LEDs

Purpose: To learn to attach external LEDs to the Circuit Playground and to use code to light them up.

No. of Classes

One class (one class = one and a half hours).

Material Required
  1. Desktop computer or laptop.
  2. Circuit Playground Express board.
  3. USB cable.
  4. Internet connection.
  5. External LEDs and alligator clips.
Curriculum Content
  • 5.1) Led
  • Prior Knowledge

    Students should know:

  • Variables and conditional statements.
  • Exercise

    Exercise 1



    1. Work through the lesson to the end.

    Solutions



  • Link to view the model solution file.

  • Teacher Instructions
    1. Teachers should ensure that students know how to use the ground, A0, A1 and other pins.
    2. Teachers should prepare before the class.
    3. Teachers should ensure that students practise all these levels.
    4. Teachers may allow students to complete the exercise as pair programming.
    5. Click here for more instructions about this lesson.